<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />

        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
    </head>
    <body>
        <div class="shoppingCart">
            <ul style="background: #08C;" class="nav">
                <?php if ($sf_user->isAuthenticated()): ?>

                    <li class="<?php echo $sf_context->getModuleName() == 'shopCartAdminProducts' ? 'active' : '' ?>">
                        <a href="<?php echo url_for('shopCartAdminProducts/index') ?>" > Products </a>
                    </li>
                    <li class="<?php echo $sf_context->getModuleName() == 'shopCartAdminOrders' ? 'active' : '' ?>">
                        <a href="<?php echo url_for('shopCartAdminOrders/index') ?>" > Order details </a></a>
                    </li>
                    <li class="<?php echo $sf_context->getModuleName() == 'shopCartAdminSetting' ? 'active' : '' ?>">
                        <a href="<?php echo url_for('shopCartAdminSetting/editSettings') ?>" > Change Settings </a></a>
                    </li>
                    <li>
                        <a href="<?php echo url_for('shopCartAdminSetting/logout') ?>" > Log out </a></a>
                    </li>
                <?php endif ?>

            </ul>
            <?php echo $sf_content ?>
        </div>
    </body>
</html>
